package com.atguigu.stgy.admin.service;

import com.atguigu.stgy.model.dto.ApartmentDTO;
import com.atguigu.stgy.model.entity.ApartmentFacility;
import com.atguigu.stgy.model.entity.FacilityInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ApartmentFacilityService extends IService<ApartmentFacility>{


    void batchSaveFacility(ApartmentDTO apartmentDTO, Long apartmentInfoId);

    List<FacilityInfo> getFacilityInfoByApartmentId(Long id);

    void updateApartmentFacilityInfos(ApartmentDTO apartmentDTO);
}
